package com.open.system.model.dto;

/**
 * @author dashu
 * @date 2025/3/6 15:42
 * @description 修改密码
 */
public class PassWordDto {
    //用户id
    private Long userId;
    //原始密码
    private String oldPassword;
    //新密码
    private String password;
    //是否校验原始密码
    private Boolean verify;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getOldPassword() {
        return oldPassword;
    }

    public void setOldPassword(String oldPassword) {
        this.oldPassword = oldPassword;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Boolean getVerify() {
        return verify;
    }

    public void setVerify(Boolean verify) {
        this.verify = verify;
    }

    @Override
    public String toString() {
        return "PassWordDto{" +
                "userId=" + userId +
                ", oldPassword='" + oldPassword + '\'' +
                ", password='" + password + '\'' +
                ", verify=" + verify +
                '}';
    }
}
